package cn.fastoo.common.entity.product.Query;

import cn.fastoo.common.entity.product.ProductCategory;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by lowkey on 17/7/24.
 */
@Table(name = "product_category")
public class ViewProductCategory extends ProductCategory{

    private List<ViewProductCategoryAttrgroup> groups = new ArrayList<>();

    public List<ViewProductCategoryAttrgroup> getGroups() {
        return groups;
    }

    public void setGroups(List<ViewProductCategoryAttrgroup> groups) {
        this.groups = groups;
    }
}
